          <div class="layui-tab layui-tab-brief">
            <ul class="layui-tab-title">
              <li class="{if $type=='new'}layui-this{/if}"><a href="{:url('wendasns/question/index',['cname'=>$categoryname,'type'=>'new'])}">最新</a></li>
              <li class="{if $type=='hot'}layui-this{/if}"><a href="{:url('wendasns/question/index',['cname'=>$categoryname,'type'=>'hot'])}">热门</a></li>
              <li class="{if $type=='price'}layui-this{/if}"><a href="{:url('wendasns/question/index',['cname'=>$categoryname,'type'=>'price'])}">悬赏</a></li>
              <li class="{if $type=='unsolved'}layui-this{/if}"><a href="{:url('wendasns/question/index',['cname'=>$categoryname,'type'=>'unsolved'])}">未解决</a></li>
              <li class="{if $type=='unanswer'}layui-this{/if}"><a href="{:url('wendasns/question/index',['cname'=>$categoryname,'type'=>'unanswer'])}">未回答</a></li>
              <li class="{if $type=='solved'}layui-this{/if}"><a href="{:url('wendasns/question/index',['cname'=>$categoryname,'type'=>'solved'])}">已解决</a></li>
            </ul>
            <div class="layui-tab-content">
              <div class="layui-tab-item layui-show">
                {volist name="logs" id="item"}
                <p>{if $item.reward>0}<font color="#e7412b">[{$item.reward}]</font> {/if}<a href="{:url('wendasns/question/show',$item)}" target="_blank">{$item.title}</a> {volist name="item.tags" id="tags"}{if $tags}<a href="{:url('wendasns/topic/show',['tags'=>$tags,'type'=>'question'])}"><span class="layui-badge layui-bg-blue">{$tags}</span></a> {/if}{/volist}</p>
                <p>{$item.content}</p>
                <p>{$item.create_time}<span style="float: right;">{$item.answer} 回答</span></p>
                <hr>
                {/volist}
                <div class="pager">{$logs->render()|raw}</div>
              </div>
            </div>
          </div>